package org.firebug;

import org.springframework.data.domain.PageRequest;

/**
 * @Author: 张晓东
 * @Date: 2020/7/8 10:09
 */
public class Page {
    public static void main(String[] args) {
        PageRequest page =PageRequest.of(2, 10);
        System.out.println(page.getOffset());
        System.out.println(page.getPageSize());
        System.out.println(page);

    }
}
